<%--商城的首页--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script type="text/javascript" src="../../static/js/safe/aywmq_qt.js"></script>
    <script type="text/javascript" src="../../static/js/safe/da_opt.js"></script>
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>华为手机商城</title>
    <link rel="stylesheet" href="../../static/shopping/css/style.css">
    <script src="../../static/shopping/js/jquery-1.8.3.min.js"></script>
    <script src="../../static/shopping/js/banner.js"></script>
    <link href="../../static/boostrap/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
    <script type="text/javascript" src="../../static/js/safe/ms_common.min.js"></script>
    <script type="text/javascript" src="../../static/js/sui.js"></script>
    <link rel="stylesheet" href="../../css/safe/css.css">
    <link rel="stylesheet" href="../../css/safe/common.min.css">
    <link rel="stylesheet" href="../../css/safe/ms-style.min.css">
    <link rel="stylesheet" href="../../css/safe/personal_member.min.css">
    <link rel="stylesheet" href="../../css/safe/Snaddress.min.css">
    <link rel="stylesheet" href="../../css/sui.css">
    <style type="text/css">
        .ng-footer {
            height: 130px;
            margin-top: 0;
        }

        .ng-s-footer {
            height: 130px;
            background: none;
            text-align: center;
        }

        .ng-s-footer p.ng-url-list {
            height: 25px;
            line-height: 25px;
        }

        .ng-s-footer p.ng-url-list a {
            color: #666666;
        }

        .ng-s-footer p.ng-url-list a:hover {
            color: #f60;
        }

        .ng-s-footer .ng-authentication {
            float: none;
            margin: 0 auto;
            height: 25px;
            width: 990px;
            margin-top: 5px;
        }

        .ng-s-footer p.ng-copyright {
            float: none;
            width: 100%;
        }

        .root1200 .ng-s-footer p.ng-copyright {
            width: 100%;
        }

        body {
            background: #f5f5f5;
        }

        .sui-table th {
            padding: 16px 8px;
            line-height: 18px;
            text-align: center;
            vertical-align: middle;
            border-top: 1px solid #e6e6e6;
            font-weight: normal;
            font-size: 14px;
            color: #333333;
        }

        .sui-table td {
            padding: 16px 8px;
            line-height: 18px;
            text-align: center;
            vertical-align: middle;
            border-top: 1px solid #e6e6e6;
            font-weight: normal;
            font-size: 12px;
            color: #333333;
        }

        img {
            max-width: 100%;
            height: auto;
            /*vertical-align: bottom;*/
            border: 0;
            -ms-interpolation-mode: bicubic;
            margin-left: -10px;
        }

        a {
            color: #000000;
        }
    </style>
</head>
<body>
<div class="container-fluid">
    <%--表头行--%>

    <div class="top1">
        <a href="${pageContext.request.contextPath}/toIndex">首页</a>
        <a href="https://consumer.huawei.com/cn/" target="_blank">华为官网</a>
        <a href="https://www.honor.cn/" target="_blank">荣耀官网</a>
        <a href="https://club.huawei.com/" target="_blank">花粉俱乐部</a>
        <a href="#">V码（优购码）</a>
        <a href="https://company.vmall.com/" target="_blank">企业购</a>
        <a href="#">Select Region</a>
        <a href="${pageContext.request.contextPath}/toAdmin">管理员登陆</a>
        <a class="icon-dropdown">更多精彩</a>
        <span class="fr">
                 <c:if test="${sessionScope.user==null}">
                     <a href="${pageContext.request.contextPath}/toLogin">你好,请登录</a>
                     <a href="${pageContext.request.contextPath}/toRegister">注册</a>
                 </c:if>

                <c:if test="${sessionScope.user!=null}">
                    <a href="#">欢迎回来! ${sessionScope.users.account}</a>
                    <a href="${pageContext.request.contextPath}/toLogin">退出</a>
                    <a href="#">我的订单</a>
                </c:if>

                <c:if test="${sessionScope.loginUser!=null&& sessionScope.loginUser.type==1}">
                    <a href="">后台管理</a>
                </c:if>
                     <a href="#">客户服务</a>
                     <a href="#">网站导航</a>
                     <a href="#">手机版</a>
                     <a href="${pageContext.request.contextPath}/toCart_list">购物车</a>

           </span>
    </div>


    <li class="nav w">
        <ul>
            <li>
                <img src="../../static/shopping/images/cs.jpg" alt="">
                <img src="../../static/shopping/images/zc.jpg" alt="">
            </li>
            <li>
                <a href="${pageContext.request.contextPath}/toShop_list">商品展示</a>
                <a href="${pageContext.request.contextPath}/getShop_hot">热销商品</a>
                <a href="#">账户管理</a>
            </li>
            <li>
                &nbsp;&nbsp;&nbsp;
                &nbsp;&nbsp;&nbsp;&nbsp;
                <input style="width: 200px;height: 25px" type="text" name="name" placeholder="请输入手机名称">
                <input type="submit" style="height: 25px;width: 40px" value="搜索">
            </li>
        </ul>
    </li>

</div>
<hr>
<div id="ms-center" class="personal-member">
    <div class="cont">
        <div class="cont-side">
            <div class="side-neck">
                <i></i>
            </div>
            <div class="ms-side">
                <article class="side-menu side-menu-off">
                    <dl class="side-menu-tree">
                        <dt>账户管理</dt>
                        <dd>
                            <a href="#"><span class="active"></span>我的资料</a>

                        </dd>
                        <dd>
                            <a href="#"><span></span>安全设置</a>

                        </dd>

                        <%--从这里跳转到修改密码页面--%>
                        <dd>
                            <c:forEach var="userInfo" items="${userInfo}">

                            </c:forEach>
                            <a href="${pageContext.request.contextPath}/toUpdatePassword?id=${users.id}"><span></span>修改密码</a>
                        </dd>
                        <dd>
                            <a href="#"><span></span>地址管理</a>
                        </dd>
                    </dl>

                    <a ison="on" class="switch-side-menu icon-up-side"><i></i></a>
                </article>
            </div>
        </div>
        <div class="cont-main">
            <div class="main-wrap mt15">
                <h3>
                    <strong>个人信息</strong>
                </h3>
                <div class="user-profile clearfix">
                    <div class="user-profile-wrap">
                        <div class="profile-avatar">
                            <img src="img/头像.png" height="120" width="120">
                            <a href="" name="">编辑头像</a>
                            <div class="edit_bg"></div>
                        </div>
                    </div>
                </div>
                <div class="form-list tab-switch personal-wrap-show">
                    <form>
                        <div class="control-group clearfix">
                            <label class="control-label"><em>*&nbsp;&nbsp;</em>真实姓名：${sessionScope.users.account}
                            </label>
                            <label class="control-label"><em>*&nbsp;&nbsp;</em>id：${sessionScope.users.id}</label>
                        </div>
                        <div class="control-group clearfix">
                            <label style="font-size: 12px"
                                   class="control-label"><em>*&nbsp;</em>密码： ${sessionScope.users.password}</label>
                            <input type="hidden" autocomplete="off" value="">
                            <div class="error-place">
                            </div>
                        </div>
                        <div class="control-group clearfix priority-high">
                            <label class="control-label"><em>*&nbsp;</em>居住地址：</label>
                            <div class="controls">
                                <div id="zhen" class="citySelect"><a class="cityboxbtn"><span>请选择省</span><em></em><span>请选择市</span><em></em><span>请选择区</span><em></em><b></b></a>
                                    <div class="citybox">
                                        <div class="chooseArea fix">
                                            <p class="cur"><span>贵州省</span><b></b></p>
                                            <p class="disable"><span>遵义市</span><b></b></p>
                                            <p class="disable"><span>红花岗区</span><b></b></p>
                                            <p class="disable"><span>全区</span><b></b></p>
                                            <div class="clear"></div>
                                        </div>
                                        <div class="arriveBox">
                                            <div class="cityshow"><span><a data="Sns_0">北京</a></span><span><a
                                                    data="Sns_1">上海</a></span><span><a
                                                    data="Sns_2">天津</a></span><span><a
                                                    data="Sns_3">重庆</a></span><span><a
                                                    data="Sns_4">河北</a></span><span><a
                                                    data="Sns_5">山西</a></span><span><a data="Sns_6">内蒙古</a></span><span><a
                                                    data="Sns_7">辽宁</a></span><span><a
                                                    data="Sns_8">吉林</a></span><span><a data="Sns_9">黑龙江</a></span><span><a
                                                    data="Sns_10">江苏</a></span><span><a
                                                    data="Sns_11">浙江</a></span><span><a
                                                    data="Sns_12">安徽</a></span><span><a
                                                    data="Sns_13">福建</a></span><span><a
                                                    data="Sns_14">江西</a></span><span><a
                                                    data="Sns_15">山东</a></span><span><a
                                                    data="Sns_16">河南</a></span><span><a
                                                    data="Sns_17">湖北</a></span><span><a
                                                    data="Sns_18">湖南</a></span><span><a
                                                    data="Sns_19">广东</a></span><span><a
                                                    data="Sns_20">广西</a></span><span><a
                                                    data="Sns_21">海南</a></span><span><a
                                                    data="Sns_22">四川</a></span><span><a
                                                    data="Sns_23">贵州</a></span><span><a
                                                    data="Sns_24">云南</a></span><span><a
                                                    data="Sns_25">西藏</a></span><span><a
                                                    data="Sns_26">陕西</a></span><span><a
                                                    data="Sns_27">甘肃</a></span><span><a
                                                    data="Sns_28">青海</a></span><span><a
                                                    data="Sns_29">宁夏</a></span><span><a data="Sns_30">新疆</a></span>
                                            </div>
                                        </div>
                                        <div class="closeSelector"></div>
                                    </div>
                                </div>
                                <p class="adress-detail">
                                    <input type="text" class="text" maxlength="30" value="红花岗区">
                                    <span class="tips-words"></span>
                                </p>
                                <div class="error-place ml0">
                                </div>
                            </div>
                        </div>
                        <div class="control-group clearfix priority-low">
                            <label class="control-label">&nbsp;</label>
                            <div style="float:left;">
                                <a href="" class="ms-stand-btn1">保 存</a>
                            </div>
                            <div class="error-place"></div>
                            <div class="error-place mt29"></div>
                        </div>
                    </form>
                </div>
            </div>
        </div>

    </div>
</div>
<div class="footer">
    <p>制作团队：晚睡协会</p>
    <p>顾名思义，晚睡协会就是一群喜欢晚睡的人凑在一起组成了一个团队。</p>
</div>
</body>
</html>
